package io.renren.modules.generator.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 企业服务档案
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-09-20 16:01:39
 */
@Data
@TableName("enterprise_service_archive")
@ApiModel("企业服务档案实体类")
public class EnterpriseServiceArchiveEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键id
	 */
	    @TableId
		@ApiModelProperty("主键id")
    private Integer id;
	/**
	 * 企业id
	 */
		@ApiModelProperty("企业id")
    private Integer enterpriseId;
	/**
	 * 一级服务类型
	 */
		@ApiModelProperty("一级服务类型")
    private String serviceTypeFirst;
	/**
	 * 二级服务类型
	 */
		@ApiModelProperty("二级服务类型")
    private String serviceTypeSecond;
	/**
	 * 服务内容
	 */
		@ApiModelProperty("服务内容")
    private String serviceContent;
	/**
	 * 附件url
	 */
		@ApiModelProperty("附件url")
    private String attachUrl;

	@TableField(exist = false)
	private String serviceTypeFrstName;

	@TableField(exist = false)
	private String serviceTypeSecondName;

	@TableField(exist = false)
	private String name;

	/**
	 * 所属企业类型
	 */
	@ApiModelProperty("所属企业类型")
	@TableField(exist = false)
	private String deptId;

	private Date createTime = new Date();

	private String createBy;

	private Date updateTime = new Date();

	private String updateBy;

	private String createByName;

	private String updateByName;

}
